#pragma once
#include "stdafx.h"

#if DD_USING_SA_VOE_WAPPER
#include "sa_voe_wrapper.h"
#else
#include "voe_api.h"
#endif //DD_USING_SA_VOE_WAPPER

class PlayDialog
{
public:
    PlayDialog(void);
    ~PlayDialog(void);

    
public:
    void init(HWND hDlg);

    void unInit();

    void startPlay();

    void stopPlay();

    bool isPlaying(void) const;

private:
    HWND                            m_hDlg;

    bool                            m_bIsPlaying;
    int                                m_chanId;
#if DD_USING_SA_VOE_WAPPER
    NS_SA::SaVoeWrapper*            m_pVoeWarpper;
#endif //DD_USING_SA_VOE_WAPPER
};

